package com.jinkaimen.kqb.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class SearchBankBean {

//    public List<PageBean> page;
    public List<BankBean> records;

    /**
     * code : 1
     * result : {"count":1,"pageNO":1,"totalPage":1,"hasNextPage":false,"pageSize":20,"records":[{"id":61243,"branchCode":"308100005607","branchName":"招商银行股份有限公司北京天通苑支行","bankName":"招商银行","province":"北京市","city":"北京市","available":1,"districtCode":"110000","bankIndex":13}],"firstIndex":0,"ext":null}
     * msg : 查询成功
     */

    @SerializedName("code")
    public int codeX;
    public ResultBean result;
    public String msg;

    public int getCodeX() {
        return codeX;
    }

    public void setCodeX(int codeX) {
        this.codeX = codeX;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * count : 1
         * pageNO : 1
         * totalPage : 1
         * hasNextPage : false
         * pageSize : 20
         * records : [{"id":61243,"branchCode":"308100005607","branchName":"招商银行股份有限公司北京天通苑支行","bankName":"招商银行","province":"北京市","city":"北京市","available":1,"districtCode":"110000","bankIndex":13}]
         * firstIndex : 0
         * ext : null
         */

        public int count;
        public int pageNO;
        public int totalPage;
        public boolean hasNextPage;
        public int pageSize;
        public int firstIndex;
        public Object ext;
        public List<com.jinkaimen.kqb.bean.BankBean> records;


        public static class BankBean {
            /**
             * id : 61243
             * branchCode : 308100005607
             * branchName : 招商银行股份有限公司北京天通苑支行
             * bankName : 招商银行
             * province : 北京市
             * city : 北京市
             * available : 1
             * districtCode : 110000
             * bankIndex : 13
             */

            public int id;
            public String branchCode;
            public String branchName;
            public String bankName;
            public String province;
            public String city;
            public int available;
            public String districtCode;
            public int bankIndex;

        }
    }

}
